//
//  ZSTheWavesVIew.h
//  MyDemo2
//
//  Created by 张帅 on 16/11/23.
//  Copyright © 2016年 张帅. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef void(^MyWavesBlock)(CGFloat y);


@interface ZSTheWavesVIew : UIView
@property (nonatomic,assign) CGFloat wavesHeight;//浪高
@property (nonatomic,assign) CGFloat bending;//弯曲度
@property (nonatomic,assign) CGFloat speed;//速度
@property (nonatomic,strong) UIColor * outsideWavesLayerColor;//外层浪颜色
@property (nonatomic,strong) UIColor * insideWavesLayerColor;//里面浪颜色
@property (nonatomic,strong) NSString * picUrl;
@property (nonatomic,copy) MyWavesBlock blockY;

///开始动画
- (void)tartAnimation;
///停止动画
- (void)stupAnimatiom;
@end
